import server from '@/plugin/axios/request_axios.js'

/**
 * 获取所有资产数据
 * @param {Number} data
 * @returns
 */
export function getAssetsSearch(data) {
  return server('get', '/assetsBeau/getAssetsList', data)
}

/**
 * 获取资产组数据
 * @param {Number} data
 * @returns
 */
export function getAssetsGroupListData() {
  return server('get', '/assetsGroup/getAssetsGroupList')
}

/**
 * 设置标签
 * @param {Number}
 * @returns
 */
export function settingTags(data) {
  return server('put', '/assetsBeau/updateAssetsTags', data)
}

/**
 * 查询标签组数据
 * @param {Number}
 * @returns
 */
export function inquireTag() {
  return server('get', '/assetsTagGroup/getAssetsTagGroupList')
}
